import controller.ImagePanelController;
import controller.MenuController;
import controller.ThumbnailController;

import view.ImagePanel;
import view.MainFrame;
import view.Thumbnail;

import model.Image;
import model.Perspective;

public class Main {
	
	public static void main(String[] args) {
		
		Image image = new Image();
		Perspective perspective = new Perspective();
		
		Thumbnail thumbnail = new Thumbnail(image);
		ImagePanel firstView = new ImagePanel(perspective, image);
		ImagePanel secondView = new ImagePanel(perspective, image);
		
		MainFrame panel = new MainFrame(thumbnail, firstView, secondView);
		MenuController menuControl = new MenuController(panel.getMenuFrame(), image);
		
		@SuppressWarnings("unused")
		ImagePanelController firstViewController = new ImagePanelController(firstView, image, perspective, menuControl);
		@SuppressWarnings("unused")
		ImagePanelController secondViewController = new ImagePanelController(secondView, image, perspective);
		@SuppressWarnings("unused")
		ThumbnailController thumbnailController = new ThumbnailController(thumbnail, image);
		
		panel.setVisible(true);
		thumbnail.setVisible(true);
		firstView.setVisible(true);
		secondView.setVisible(true);
		
	}
	
}